<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>广告提交</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!--    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>-->
    <!--    <script rel="script" type="text/javascript" th:src="@{/js/jquery-3.5.1.min.js}"></script>-->
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}"  media="all">
    <link rel="stylesheet" th:href="@{/css/couponCss.css}" type="text/css">
    <script rel="script" type="text/javascript" th:src="@{/js/jquery-3.5.1.min.js}"></script>
    <script rel="script" type="text/javascript" th:src="@{/layui/layui.js}"></script>
    <script rel="script" type="text/javascript" th:src="@{/js/sadvertisementJs.js}"></script>
</head>
<body>
<form class="layui-form layui-form-pane" action="" id="carousel_form">

    <div class="layui-form-item">
        <label class="layui-form-label">文件上传</label>
        <div class="layui-input-block">
            <div class="layui-upload">
                <button type="button" class="layui-btn layui-btn-normal" id="test8">选择文件</button>
            </div>
        </div>
    </div>

    <div class="layui-form-item" >
        <label class="layui-form-label">广告对象</label>
        <div class="layui-input-inline" >
            <select name="type" lay-filter="catId">
                <option value="">请选择类型</option>
                <option value="1">商品</option>
                <option value="2">分类</option>
            </select>
        </div>
        <div class="layui-input-inline" >
            <select  id="sonId">
                <option value="">请选择</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">设置时间</label>
        <div class="layui-inline">
            <input type="text" class="layui-input" name="startTime" id="startTime" placeholder="开始时间" autocomplete="off">
        </div>
        <div class="layui-inline">
            <input type="text" class="layui-input" name="expiredTime" id="expiredTime" placeholder="结束时间" autocomplete="off">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">地址</label>
        <div class="layui-input-block layui-address-myStyle">
            <input type="text" name="linkUrl" autocomplete="off" placeholder="请输入跳转地址" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <button id="carouselSub" class="layui-btn" lay-submit="" lay-filter="carouselSub">提交</button>
        <button type="reset" class="layui-btn">重置</button>
    </div>
</form>



</body>
</html>